#include <iostream>

using namespace std;

class Solution 
{
public:
    int jumpFloor(int number) 
    {
        int a = 1, b = 1, c = 1;
        for (int i = 2; i <= number; i++) 
        {
            c = a + b, a = b, b = c;
        }
        return c;
    }
};

int main()
{
    int a = 7;
    Solution xz;
    int n = xz.jumpFloor(a);
    cout << n << endl;

	return 0;
}